﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Idte.HumanResource.Competency
{
    public class CompetencyCluster
    {
        [ForeignKey("CompetencyId")]
        public Competency Competency { get; set; }
        [Key, Column(Order=0)]
        public Guid CompetencyId { get; set; }
        [ForeignKey("ClusterId")]
        public Cluster Cluster { get; set; }
        [Key, Column(Order=1)]
        public Guid ClusterId { get; set; }
    }
}
